package com.jy.adscm.operation.cg.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zyl
 * @Date 2019/7/12 -9:48
 */

public class QueryCondition {
    private Integer macNums;
    private Integer persons;
    private Date startTime;
    private Integer macType;
    private String  makeNo;
    private Integer cgType;
    private  String batch;

    //任务执行人
    private Integer performer;

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public Integer getPerformer() {
        return performer;
    }

    public void setPerformer(Integer performer) {
        this.performer = performer;
    }

    public Integer getCgType() {
        return cgType;
    }

    public void setCgType(Integer cgType) {
        this.cgType = cgType;
    }

    public String getMakeNo() {
        return makeNo;
    }

    public void setMakeNo(String makeNo) {
        this.makeNo = makeNo;
    }

    public Integer getMacNums() {
        return macNums;
    }

    public void setMacNums(Integer macNums) {
        this.macNums = macNums;
    }

    public Integer getPersons() {
        return persons;
    }

    public void setPersons(Integer persons) {
        this.persons = persons;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getStartTime() {
        return startTime;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getMacType() {
        return macType;
    }

    public void setMacType(Integer macType) {
        this.macType = macType;
    }

}